import request from "@/utils/http/request";
import { OneList } from "./dict/types";

//获取一级的数据
export const getOneInfo = (id: number) =>
  request.get<any, OneList>(`/admin/cmn/dict/findByParentId/${id}`);
